#pragma once

#include <d3d9.h>
#include <d3dx9.h>
#include <string>
#include <fstream>
#include <vector>
#include <cmath>


struct r_Texture
{
	r_Texture()
	{
		me_Format = D3DFMT_UNKNOWN;
		mi_Width = 0;
		mi_Height = 0;
		mr_Texture_ = NULL;
	}

	bool operator== (r_Texture& ar_Other) const
	{
		return (me_Format == ar_Other.me_Format && mi_Width==ar_Other.mi_Width && mi_Height==ar_Other.mi_Height);
	}

	bool operator!= (r_Texture& ar_Other) const
	{
		return !(me_Format == ar_Other.me_Format && mi_Width==ar_Other.mi_Width && mi_Height==ar_Other.mi_Height);
	}

	D3DFORMAT me_Format;
	int mi_Width;
	int mi_Height;
	LPDIRECT3DTEXTURE9 mr_Texture_;
};
